package cn.yx.common.core.constant.message.enums;

import cn.yx.common.core.annotation.message.English;
import cn.yx.common.core.annotation.message.I18nMessage;
import cn.yx.common.core.annotation.message.SimplifiedChinese;

/**
 * <p>SentinelException消息Key常量</p>
 *
 * @author Wgssmart
 */
@I18nMessage
public final class SentinelExceptionMessageKey {

    private SentinelExceptionMessageKey() {
    }

    @SimplifiedChinese("Sentinel流控异常")
    @English("Sentinel block exception")
    public static final String SENTINEL_BLOCK_EXCEPTION = "cn.yx.common.core.sentinelBlockException";

    @SimplifiedChinese("接口限流")
    @English("Sentinel flow exception")
    public static final String FLOW_EXCEPTION = "cn.yx.common.core.flowException";

    @SimplifiedChinese("服务降级")
    @English("Sentinel degrade exception")
    public static final String DEGRADE_EXCEPTION = "cn.yx.common.core.degradeException";

    @SimplifiedChinese("热点参数限流")
    @English("Sentinel param flow exception")
    public static final String PARAM_FLOW_EXCEPTION = "cn.yx.common.core.paramFlowException";

    @SimplifiedChinese("授权规则保护")
    @English("Sentinel authority exception")
    public static final String AUTHORITY_EXCEPTION = "cn.yx.common.core.authorityException";

    @SimplifiedChinese("系统规则保护")
    @English("Sentinel system block exception")
    public static final String SYSTEM_BLOCK_EXCEPTION = "cn.yx.common.core.systemBlockException";

}